package org.sixtynine.stock.dao;

import java.util.Date;
import java.util.List;

import org.sixtynine.stock.dto.GridPramDTO;
import org.sixtynine.stock.dto.Page;
import org.sixtynine.stock.entity.AspiData;
import org.springframework.transaction.annotation.Transactional;

@Transactional(readOnly = true)
public interface AspiDataDao extends AbstractDao<AspiData, Integer> {

	void saveAspiData(AspiData aspiData);

	List<AspiData> findAspiData(Date aspiDataDate);

	List<AspiData> searchMonthlyAspiData( Date fromDate,
			Date toDate , String orderBy);

	public Page<AspiData> searchMonthlyAspiData( Date fromDate,
			Date toDate, String orderBy,  GridPramDTO gridPramDTO);
	
	public void deleteAspiData(Date fromDate, Date toDate);

}
